home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Info / TeachU14 / SAMS / Code / Day09 / jjmain.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-08  |  1.1 KB  |  32 lines

  1. //---------------------------------------------------------------------------
  2. #ifndef JJMainH
  3. #define JJMainH
  4. //---------------------------------------------------------------------------
  5. #include <vcl\Classes.hpp>
  6. #include <vcl\Controls.hpp>
  7. #include <vcl\StdCtrls.hpp>
  8. #include <vcl\Forms.hpp>
  9. #include <vcl\ExtCtrls.hpp>
  10. //---------------------------------------------------------------------------
  11. class TMainForm : public TForm
  12. {
  13. __published:    // IDE-managed Components 
  14.     TButton *Start;
  15.     TButton *Stop;
  16.     TImage *Image;
  17.     TLabel *Label;
  18.     void __fastcall FormCreate(TObject *Sender);
  19.  
  20.     void __fastcall StartClick(TObject *Sender);
  21.     void __fastcall StopClick(TObject *Sender);
  22. private:        // User declarations
  23.     bool done;
  24.     void DrawImage(String& name);
  25. public:         // User declarations
  26.     virtual __fastcall TMainForm(TComponent* Owner);
  27. };
  28. //---------------------------------------------------------------------------
  29. extern PACKAGE TMainForm *MainForm;
  30. //---------------------------------------------------------------------------
  31. #endif
  32.